package com.himiotech.core.project.model.metadata;

/**
 * @author wuwenbin
 * @date 2021-05-27 23:08:03
 **/
public enum OperateLogMetadata {

    /**
     * 字段类型列举，方便 mp 的 wrapper 使用
     */
    OPERATE_ID("operate_id"),
    TITLE("title"),
    BUSINESS_TYPE("business_type"),
    METHOD("method"),
    REQUEST_METHOD("request_method"),
    OPERATE_TYPE("operate_type"),
    OPERATE_NAME("operate_name"),
    DEPT_NAME("dept_name"),
    OPERATE_URL("operate_url"),
    OPERATE_IP("operate_ip"),
    OPERATE_LOCATION("operate_location"),
    OPERATE_PARAM("operate_param"),
    JSON_RESULT("json_result"),
    STATUS("status"),
    ERROR_MSG("error_msg"),
    OPERATE_TIME("operate_time");

    private final String colName;

    OperateLogMetadata(String colName) {
        this.colName = colName;
    }

    public String getColName() {
        return colName;
    }
}
